﻿using System.Collections.Generic;

namespace Marmat.Forms
{
    public partial class BaseGrid
    {
        protected internal class MultiRowHeaderInfo
        {
            public string Name { get; set; }
            public Views.DataGrid.Column Column { get; set; }

            public List<MultiRowHeaderInfo> Items
            {
                get
                {
                    if (this.m_Items is null)
                    {
                        this.m_Items = new List<MultiRowHeaderInfo>();
                    }

                    return this.m_Items;
                }
            }

            private List<MultiRowHeaderInfo> m_Items;
        }
    }
}